package com.youle.robots;

import java.util.Comparator;

/**
 * Created by IntelliJ IDEA.
 * 比较器
 * User: kedong
 * Date: 18-3-28
 * Time: 上午10:34
 * To change this template use File | Settings | File and Code Templates ->Includes->File Header.
 */
public class MapKeyComparator<T extends Comparable> implements Comparator<T> {
    @Override
    public int compare(T o1, T o2) {
        return o1.compareTo(o2);
    }
}
